/* @(#)GSOrderEmergencyOfWorkingVO.java    V0.1
 *
 * Project: GSdevelop
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen         2006-4-11
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSOrderEmergencyOfWorkingVO implements GSBaseBean{

    /**
     * 
     */
    
    public String goodsid; 
    public String category; 
    public String orderdetailstatus; 
    public String orgname; 
    public String concentricityid; 
    public String manufacturename; 
    public String manufacturespec; 
    public String manufacturetype; 
    public String manufacturebrand; 
    public String provider; 
    public double ordercount; 
    public double signincount; 
    public double signinprice; 
    public String signindate; 
    public String quantunit; 
    public String ordertempid; 
    public String orderdetailid; 
    public String mode;
    public Object process(ResultSet aResultSet) throws SQLException {
        
        GSOrderEmergencyOfWorkingVO tGSOrderVO = new GSOrderEmergencyOfWorkingVO();
        tGSOrderVO.goodsid = aResultSet.getString("P1").trim();
        tGSOrderVO.category = aResultSet.getString("P2");
        tGSOrderVO.orderdetailstatus = aResultSet.getString("P3").trim();
        tGSOrderVO.orgname = aResultSet.getString("P4").trim();
        tGSOrderVO.concentricityid = aResultSet.getString("P5").trim();
        tGSOrderVO.manufacturename = aResultSet.getString("P6").trim();
        tGSOrderVO.manufacturespec = aResultSet.getString("P7")==null?"":aResultSet.getString("P7").trim();
        tGSOrderVO.manufacturetype = aResultSet.getString("P8")==null?"":aResultSet.getString("P8").trim();
        tGSOrderVO.manufacturebrand = aResultSet.getString("P9")==null?"":aResultSet.getString("P9").trim();
        tGSOrderVO.provider = aResultSet.getString("P10") == null? "":aResultSet.getString("P10").trim();
        tGSOrderVO.ordercount = aResultSet.getDouble("P11");
        tGSOrderVO.signincount = aResultSet.getDouble("P12");
        tGSOrderVO.signinprice = aResultSet.getDouble("P13");
        tGSOrderVO.signindate = aResultSet.getString("P14") == null? "":aResultSet.getString("P14").trim();
        tGSOrderVO.quantunit = aResultSet.getString("P15") == null? "":aResultSet.getString("P15").trim();
        tGSOrderVO.ordertempid = aResultSet.getString("P16").trim();
        tGSOrderVO.orderdetailid = aResultSet.getString("P17") == null? "":aResultSet.getString("P17").trim();
        tGSOrderVO.mode = aResultSet.getString("P19") == null? "":aResultSet.getString("P19").trim();
        return tGSOrderVO;
    }

}
